package org.buptjunjun.servlet;

import javax.servlet.http.Cookie;

/**
*    Longlived Cookie
*    4/6/2012
*/
class LongLivedCookie extends Cookie
{   
    //The time span when the cookie can exist
    static public final int MAX_LIVE_AGE = 60*60*24;   
    public LongLivedCookie(String name, String value)
	{
	     super(name,value);
		 setMaxAge(MAX_LIVE_AGE);
	}
}